﻿#ifndef REGISTERFORM_H
#define REGISTERFORM_H
#include <QWidget>

#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

enum REGISTER_ITEM{
    REG_USERID = 0,
    REG_USERPSW,
    REG_USERNAME,
    REG_USERPHONE,
};

namespace Ui {
class RegisterForm;
}

class RegisterForm : public QWidget
{
    Q_OBJECT
signals:
    void signalUserRegister(QStringList parameters);
public:
    explicit RegisterForm(QWidget *parent = nullptr);
    ~RegisterForm();

private slots:
    void on_pb_finish_clicked();
    void on_pb_back_clicked();

    void on_le_userID_textChanged(const QString &arg1);
    void on_le_password_textChanged(const QString &arg1);
    void on_le_passwordOK_textChanged(const QString &arg1);
    void on_le_name_textChanged(const QString &arg1);

    void on_le_phone_textChanged(const QString &arg1);

private:
    Ui::RegisterForm *ui;
    bool m_isOkToRegister[4];
};

#endif // REGISTERFORM_H
